package com.example.easybuy.dao;

import com.example.easybuy.pojo.Phone;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface PhoneDao {

    /*
    添加手机订单
     */
    public int addPhone(Phone phone);

    /*
    查询手机订单
     */
    public Phone getPhone(@Param("phoneNum") String phoneNum);

    /*
    更新手机余额
     */
//    public int updataPhone(Phone phone);


}
